.class Lcom/waiqin365/lightapp/im/activity/cx;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/adapter/CustFileItemView;

.field final synthetic b:Ljava/util/ArrayList;

.field final synthetic c:Lcom/waiqin365/lightapp/im/activity/SelectFileActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/SelectFileActivity;Lcom/waiqin365/lightapp/im/adapter/CustFileItemView;Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/cx;->c:Lcom/waiqin365/lightapp/im/activity/SelectFileActivity;

    iput-object p2, p0, Lcom/waiqin365/lightapp/im/activity/cx;->a:Lcom/waiqin365/lightapp/im/adapter/CustFileItemView;

    iput-object p3, p0, Lcom/waiqin365/lightapp/im/activity/cx;->b:Ljava/util/ArrayList;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cx;->a:Lcom/waiqin365/lightapp/im/adapter/CustFileItemView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/CustFileItemView;->a()I

    move-result v2

    new-instance v3, Ljava/lang/StringBuffer;

    invoke-direct {v3}, Ljava/lang/StringBuffer;-><init>()V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    if-gt v1, v2, :cond_0

    const-string/jumbo v0, "/"

    invoke-virtual {v3, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cx;->b:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cx;->c:Lcom/waiqin365/lightapp/im/activity/SelectFileActivity;

    new-instance v1, Ljava/io/File;

    invoke-virtual {v3}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/im/activity/SelectFileActivity;->a(Lcom/waiqin365/lightapp/im/activity/SelectFileActivity;Ljava/io/File;)V

    return-void
.end method
